/* 创建仓库 */
import { createStore } from 'redux'
import rootReducer from './rootReducer'
/* 创建store实例对象 */
const store = createStore(
  rootReducer,
  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)
/* 导出 */
export default store